package com.yb.module.system.service;

import java.util.List;

import com.yb.framework.core.base.BaseService;
import com.yb.module.system.domain.SysUser;

public interface SysUserService extends BaseService<SysUser> {
	
	SysUser getByUsername(String username);
	
	List<String> getRolesByUsername(String username);
	
	List<String> getPermissionsByUsername(String username);
	
	List<String> getALlPermissions();
	
	void insertUser(SysUser sysUser);
	
	void updateUser(SysUser sysUser);
}